<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title></title>

                <link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
                <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.0.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/editor/kindeditor.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>

                <script type="text/javascript">
                        $(document).ready(function() {
                                console.log("__APP__/Home/User/user_list");
                                $(".click").click(function() {
                                        $(".tip").fadeIn(200);
                                });

                                $(".tiptop a").click(function() {
                                        $(".tip").fadeOut(200);
                                });

                                $(".sure").click(function() {
                                        $(".tip").fadeOut(100);
                                });

                                $(".cancel").click(function() {
                                        $(".tip").fadeOut(100);
                                });

                        });

                        function view_user(user_id) {
                                layer.open({
                                        type: 2,
                                        title: '用户详情',
                                        shadeClose: false,
                                        shade: 0.7,
                                        maxmin: true, //开启最大化最小化按钮
                                        area: ['1000px', '620px'],
//                                        content: '{:U("User/user_detail?id=")}' + 2,
                                        content: '__APP__/Home/User/user_detail?id=' + user_id,
                                        end: function() {
                                                //加载层
                                                var index = layer.load(2, {shade: 0.8}); //0代表加载的风格，支持0-2
                                                location.reload();//关闭弹出层之后刷新父页面
                                        }
                                });
                        }
                </script>
        </head>
        <body>
                <div class="place">
                        <span>位置：</span>
                        <ul class="placeul">
                                <li><a href="#">首页</a></li>
                                <li><a href="#">用户管理</a></li>
                                <li><a href="#">管理员管理</a></li>
                                <li><a href="#">管理员列表</a></li>
                        </ul>
                </div>

                <div class="rightinfo">
                        <div class="tools">
                                <ul class="toolbar">
                                        <li class="click"><span><img src="__PUBLIC__/images/t01.png" /></span>添加</li>
                                        <li class="click"><span><img src="__PUBLIC__/images/t02.png" /></span>修改</li>
                                        <li><span><img src="__PUBLIC__/images/t03.png" /></span>删除</li>
                                        <li><span><img src="__PUBLIC__/images/t04.png" /></span>统计</li>
                                </ul>
                                <ul class="toolbar1">
                                        <li><span><img src="__PUBLIC__/images/t05.png" /></span>设置</li>
                                </ul>

                        </div>
                        <table class="tablelist">
                                <thead>
                                        <tr>
                                                <th><input name="" type="checkbox" value="" checked="checked"/></th>
                                                <th>用户名<!--<i class="sort"><img src="__PUBLIC__/images/px.gif" /></i>--></th>
                                                <th>上次登录时间</th>
                                                <th>操作</th>
                                        </tr>
                                </thead>
                                <tbody>
                                        <volist name="admins" id="admin">
                                                <tr>
                                                        <td><input name="" type="checkbox" value="" /></td>
                                                        <td>{$admin.admin_name}</td>
                                                        <td>{$user.last_login_time}</td>
                                                        <td><a href="#" onclick="view_user({$user.id})" class="tablelink">查看</a>     <a href="#" class="tablelink"> 删除</a></td>
                                                </tr> 
                                        </volist>
                                </tbody>
                        </table>

                        <div class="pagin">
                                <!--
                                <div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
                                <ul class="paginList">
                                        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
                                        <li class="paginItem"><a href="javascript:;">1</a></li>
                                        <li class="paginItem current"><a href="javascript:;">2</a></li>
                                        <li class="paginItem"><a href="javascript:;">3</a></li>
                                        <li class="paginItem"><a href="javascript:;">4</a></li>
                                        <li class="paginItem"><a href="javascript:;">5</a></li>
                                        <li class="paginItem more"><a href="javascript:;">...</a></li>
                                        <li class="paginItem"><a href="javascript:;">10</a></li>
                                        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
                                </ul>
                                -->
                                {$pageInfo}
                        </div>

                        <div class="tip">
                                <div class="tiptop"><span>提示信息</span><a></a></div>

                                <div class="tipinfo">
                                        <span><img src="__PUBLIC__/images/ticon.png" /></span>
                                        <div class="tipright">
                                                <p>是否确认对信息的修改 ？</p>
                                                <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
                                        </div>
                                </div>

                                <div class="tipbtn">
                                        <input name="" type="button"  class="sure" value="确定" />&nbsp;
                                        <input name="" type="button"  class="cancel" value="取消" />
                                </div>
                        </div>

                </div>

                <script type="text/javascript">
                        $('.tablelist tbody tr:odd').addClass('odd');
                </script>
        </body>
</html>
